package ar.edu.itba.bundundu.domain;

import java.util.ArrayList;

import com.google.gdata.data.acl.AclEntry;

public class CalendarItem {
  public String name;
  public String url;
  ArrayList<FeedItem> feedItems;
  
  
  public CalendarItem(String name, String url) {
    this.name = name;
    this.url = url;
    this.feedItems = new ArrayList<FeedItem>();
  }

  public void addFeed(String email, String level, AclEntry aclentry) {
    FeedItem feed = new FeedItem(email, level, aclentry);
    this.feedItems.add(feed);
  }
  
  public void  addFeed(String email, String level) {
    FeedItem feed = new FeedItem(email, level);
    this.feedItems.add(feed);
  }
  
  public int getSize(){
    return feedItems.size();
  }
  
  public FeedItem get(int i){
    return feedItems.get(i);
  }

  

}
